package com.laosg.study.base.ch4

/**
  * Created by kaimin on 9/5/2019.
  * time : 08:56
  */
object ScalaStatic {
  def main(args: Array[String]): Unit = {

    ScalaPerson.sayHi()
    println(ScalaPerson.sex)
  }

}

class ScalaPerson{
  var  name:String=""
}

object ScalaPerson{
  var sex:String="123"

  def sayHi():Unit=println("hhii")
}